<template>
	<view>
		<view class="u-text-center" style="width: 150rpx;height: 150rpx;margin:40rpx auto;">
			<image :src="user.headimg" style="width: 150rpx;height: 150rpx;border-radius: 50%;"></image>
		</view>
		<view>
			<u-cell-item title="昵称" :arrow="false" :value="user.nickname"></u-cell-item>
			<!-- <u-cell-item title="手机号" :arrow="false" :value="user.mobile"></u-cell-item> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				user: ''
			}
		},
		onLoad() {
			this.$u.post('/user/information', {}).then(res => {
				this.user = res;
			}).catch(err => {

			})
		}
	}
</script>

<style>
</style>
